package com.kqb.service;

import com.kqb.common.domain.AjaxResult;
import com.kqb.pojo.dto.EmployeeDto;
import com.kqb.pojo.dto.EmployeeQueryDto;

/**
 * @author 杉果树皮
 * @date 2025/2/17 20:10
 * @description: 员工业务层
 */
public interface IEmployeeService {

    public AjaxResult save(EmployeeDto entity);

    public AjaxResult deleteById(Integer id);

    AjaxResult selectByPage(EmployeeQueryDto employeeQueryDTO);

    /**
     * 根据员工类型查询员工
     *
     * @param type
     * @return
     */
    AjaxResult selectByType(String type);
}
